/**
 * File: Main.java
 * Created: Feb 12, 2007 2:11:09 PM
 */
package com;

import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 * @author Wes Billman
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Logging.WriteLine("Application Starting...");
		try {
			UIManager.setLookAndFeel("com.shfarr.ui.plaf.fh.FhLookAndFeel");
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
		
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				Main_Form mainForm = new Main_Form();
				mainForm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
				mainForm.setLocationByPlatform(true);
				mainForm.setVisible(true);
			}
		});
	}

}
